<template>
    <div class="hotel-item">
        <router-link :to="{
            path: '/detail',
            query: {field: 'hotel', id: data.id}
        }"
        >
        <div class="img">
            <img class="hotel-img" :src="data.img" :alt="data.name">
        </div>
        </router-link>
    </div>
</template>

<script>
export default {
    name: ''
}
</script>

<style lang="scss" scoped>

</style>